namespace Db {
    export enum Attr {
        base = "基础属性",
        physical = "武术",
        defense = "防御",
        hp = "体力",
        mp = "真气",
        magic = "灵力",
        bodylaw = "身法",
        luck = "吉运",
        roundHp = "战斗中每回合体力",
        roundMp = "战斗中每回合真气",
        useMagicSubMp = "施法所需真气减少",
        notDeBuff = "不受异常状态影响",
        fire = "火属性",
        wood = "木属性",
        water = "水属性"
    }

    /** 物品  1-999 装备
     * arms 武器    1-199是武器  1-30刀 31-60剑 61-80鞭 81-100刺 101-120杖 121-140伞
     * hat 帽子     200-399帽子
     * cloak 披风护肩 400-599披风护肩
     * clothes 衣服  500-699衣服
     * wear 佩戴     600-799佩戴
     * shoes 鞋子    800-999鞋子
     * 
     * plot 剧情物品 1000-1200
     * addState 攻击状态类 1201-1400
     * pelt 投掷物品  1401-1600
     * aide 战斗辅助  1601-1800
     * attrup 能力提升类 1801-2000
     * drug 药品  2001-2200
     * other 其他  2201-2400
    */
    export interface Item {
        id?: number
        name: string
        texture?: string
        type: string
        desc: string
        /** 武器附加属性 */
        attr?: { [key: string]: any }
        /** 装备武器的要求 */
        stint?: { [key: string]: any }
    }
    let Items: Item[] = [
        { "id": 1, name: "大刀", type: "arms", desc: "刀身宽而长，刃部锋利，背部厚重。", attr: { physical: +16, defense: +1 } },
        { "id": 2, name: "胡刀", type: "arms", desc: "胡人惯用的武器，因通商流入中土。", attr: { physical: +25 } },
        { "id": 3, name: "红缨刀", type: "arms", desc: "精钢打造，背厚刃薄，刀柄饰以红色长穗。", attr: { physical: +38 } },
        { "id": 4, name: "戒刀", type: "arms", desc: "佛门中人练武所用之刀，严禁伤生染血。", attr: { physical: +55, magic: +10, defense: +5 } },
        { "id": 5, name: "和阗刀", type: "arms", desc: "由西域传入，较一般胡刀精美。", attr: { physical: +80, defense: +5 } },
        { "id": 6, name: "月牙刀", type: "arms", desc: "刀身的弧度犹如一弯新月，锋利异常。", attr: { physical: +94, magic: +5, defense: +5 } },
        { "id": 7, name: "鬼雄", type: "arms", desc: "古代战将沙场之遗物，传说能引出天雷。", attr: { physical: +110, magic: +10, defense: +10 } },
        { "id": 8, name: "凤鸣刀", type: "arms", desc: "出鞘之声有如凤鸣，故称“凤鸣刀”。", attr: { physical: +124, magic: +15, defense: +8 } },
        { "id": 9, name: "天吒", type: "arms", desc: "天吒，传说中的上古魔神，手持宝刀，能斩虚无，此刀会以其为名，除威力惊人，亦因刀有魔性非有极高修行者难控之故。", attr: { physical: +145, magic: +18, defense: +15 }, stint: { level: 25 } },
        { "id": 10, name: "铁火尺", type: "arms", desc: "天降陨石，型貌似铁，经过七七四十九日的烧炼，终铸成一刀，刀身泛露红光。", attr: { physical: +165, magic: +20, defense: +25 } },
        { "id": 11, name: "威灵", type: "arms", desc: "远古巨人大战群魔，最后力竭而亡，死后元神化作此刀，能除天下妖邪魔怪。", attr: { physical: +190, magic: +30, defense: +20, luck: +5 }, stint: { player: "王小虎" } },
        { "id": 31, name: "云纹剑", type: "arms", desc: "取精钢不断反折打造，剑身为层层精钢压合而成，故有如云纹路，因而得名。", attr: { physical: +60, bodylaw: +18 } },
        { "id": 32, name: "流光古剑", type: "arms", desc: "传闻为珠海三仙采五金之精，合四千九百种灵药，以先天之火，铸炼成形。", attr: { physical: +88, bodylaw: +20 } },
        { "id": 33, name: "幻舞月隐剑", type: "arms", desc: "剑身轻薄，闪露银光，一经舞动难见剑影，故有月隐之名。", attr: { physical: +100, bodylaw: +32 } },
        { "id": 34, name: "幽真剑", type: "arms", desc: "名家精心打造的剑，轻薄锋利。", attr: { physical: +115, bodylaw: +32 } },
        { "id": 35, name: "太乙破阙剑", type: "arms", desc: "原名破阙，剑身宽大厚重且破坏力强，后为青城派太乙真人持有，真人以自身真元与剑相合，威力遽增足可撼动黄泉。", attr: { physical: +130, defense: +15, bodylaw: -10 } },
        { "id": 36, name: "冰青剑", type: "arms", desc: "仙霞派至宝，剑身为冰火洞中万年冰泉凝聚而成，寒气逼人，凡人难御，剑身吐露青芒，而得冰青之名。", attr: { physical: +142, magic: +20, bodylaw: +40 } },
        { "id": 37, name: "天绝剑", type: "arms", desc: "原为上古傲世剑仙所持，乃天府奇珍所铸，挥动之时光华四射，威力极大，颇有撼天动地之势。", attr: { physical: +170, magic: +10, bodylaw: +30 }, stint: { player: "沈欺霜" } },
        { "id": 38, name: "冰青剑碎片", type: "arms", desc: "仙霞派至宝冰青剑为孔麟击碎所余碎片。", attr: { physical: +20 } },
        { "id": 61, name: "长鞭", type: "arms", desc: "生牛皮制的七尺软鞭。", attr: { physical: +20, bodylaw: +20 } },
        { "id": 62, name: "蝎尾螫", type: "arms", desc: "以带刺藤蔓与生牛皮互绞制成，挥击时所布短刺刺入人身有如蝎螫一般，因而得名。", attr: { physical: +40, bodylaw: +25 } },
        { "id": 63, name: "赶山鞭", type: "arms", desc: "具有驱沙赶石能力的九节铁鞭。", attr: { physical: +50, defense: +5, bodylaw: +33 } },
        { "id": 64, name: "九尺墨影", type: "arms", desc: "九尺黑蟒，灵动迅捷，传闻有法力高强的巫蛊师能操纵自如。", attr: { physical: +80, defense: +10, bodylaw: +45 } },
        { "id": 65, name: "龙筋鞭", type: "arms", desc: "取龙筋制成的长鞭，有极大威力。", attr: { physical: +110, defense: +15 } },
        { "id": 81, name: "镔铁锥", type: "arms", desc: "以镔铁制成纺锥之型，可刺可击，适用于近身攻击。", attr: { physical: +10, bodylaw: +5 } },
        { "id": 82, name: "峨嵋刺", type: "arms", desc: "峨嵋派独门武器，由轻质金属制成，适合女性使用。", attr: { physical: +25, bodylaw: +15 } },
        { "id": 83, name: "荆棘刺", type: "arms", desc: "形似峨嵋刺，锥身有许多小刺突起，故称荆棘。", attr: { physical: +50, bodylaw: +20 } },
        { "id": 84, name: "金刚锥", type: "arms", desc: "刻有金刚经文的四角钢锥。", attr: { physical: +45, magic: +15, bodylaw: +10 } },
        { "id": 85, name: "蜻蜓断玉刺", type: "arms", desc: "稀世金属制成，锐可断玉，却又有如蜻蜓点水之轻灵，故有蜻蜓断玉之名。", attr: { physical: +70, magic: +20, bodylaw: +25 } },
        { "id": 86, name: "九毒蝎", type: "arms", desc: "异种奇蝎，全身甲壳坚硬刚直，尾刺毒性变幻莫测。", attr: { physical: +90, defense: +15, bodylaw: +5 } },
        { "id": 87, name: "龙牙", type: "arms", desc: "取蛟龙筋血与金属冶炼而成的长锥，锥身带有蛟龙血班与龙筋金丝，隐含蛟龙神力。", attr: { physical: +130, bodylaw: +45 }, stint: { player: "苏媚" } },
        { "id": 100, name: "梨杖", type: "arms", desc: "刻梨木为里，外以细藤缠杖，繁密结实，坚固轻灵，杖首雕成狼头之状。", attr: { physical: +1, magic: +30 } },
        { "id": 101, name: "锡杖", type: "arms", desc: "以锡锻制而成，杖首作枭首状。", attr: { physical: +2, magic: +45 } },
        { "id": 102, name: "凤首杖", type: "arms", desc: "红玉雕制而成，赤中隐碧，杖头刻成凤凰嗈嗈鸣叫之状。", attr: { physical: +3, magic: +55 } },
        { "id": 103, name: "赤霄杖", type: "arms", desc: "将宿铁以蜀水淬火锻炼出钢杖，钢外裹以滇玉雕成，杖头、杖身雕饰百魔为图。", attr: { physical: +4, magic: +100, defense: +20 } },
        { "id": 121, name: "油纸伞", type: "arms", desc: "以竹材为骨、油纸为面的伞，方便轻巧。", attr: { physical: +1, magic: +11, defense: +1 } },
        { "id": 122, name: "铁骨伞", type: "arms", desc: "以精铁为骨、油布为面的伞，坚固耐久。", attr: { physical: +2, magic: +20, defense: +3 } },
        { "id": 123, name: "紫萝伞", type: "arms", desc: "紫萝布制成的伞具。", attr: { physical: +3, magic: +30, defense: +8 } },
        { "id": 124, name: "青莹石伞", type: "arms", desc: "以青莹石作为墬饰的伞具。", attr: { physical: +4, magic: +45, defense: +12 } },
        { "id": 125, name: "符纸伞", type: "arms", desc: "伞面贴附有许多灵符，能借使鬼神的灵力。", attr: { physical: +2, magic: +50, defense: +10, luck: +10 } },
        { "id": 126, name: "退魔伞", type: "arms", desc: "伞面绘有驱除邪魔的经文，有退魔避邪的效果。", attr: { physical: +4, magic: +70, defense: +20 } },
        { "id": 127, name: "伞蜘蛛", type: "arms", desc: "遇风而长的蜘蛛，会吐蛛丝缠附于八足之上，加以尾部极为细长垂于体下，平日持在手中便如伞具一般。", attr: { physical: +6, magic: +75, defense: +42 } },
        { "id": 128, name: "魍魉伞", type: "arms", desc: "相传为道家法器，有驾驭精怪鬼魂的魔力。", attr: { physical: +5, magic: +90, defense: +30 } },
        { "id": 129, name: "菩提宝伞", type: "arms", desc: "以菩提木为伞骨，天蚕绸缎为伞面，上绘佛陀宝像，妖魔不敢直视。", attr: { physical: +5, magic: +105, defense: +40, luck: +20 } },
        { "id": 130, name: "藏星伞", type: "arms", desc: "取天河星石辅以金丝汇串、麒麟头角作骨成伞，伞内莹莹星光犹如天象，故名藏星。", attr: { physical: +5, magic: +120, defense: +20, luck: +40 }, stint: { player: "李忆如" } },
        { "id": 200, name: "头巾", type: "hat", desc: "以剩余布料缝制的头巾。", attr: { defense: +1 } },
        { "id": 201, name: "青丝巾", type: "hat", desc: "青色的丝织发带。", attr: { defense: +1 } },
        { "id": 202, name: "柚皮帽", type: "hat", desc: "吃完柚子后所剩下的皮。", attr: { magic: +10, defense: +1, luck: +20 }, stint: { player: "李忆如" } },
        { "id": 203, name: "木钗", type: "hat", desc: "梨木制的发钗。", attr: { defense: +3 } },
        { "id": 204, name: "黑羊皮帽", type: "hat", desc: "黑羊皮缝制的帽子，可去除霉运。", attr: { defense: +4 } },
        { "id": 205, name: "银钗", type: "hat", desc: "纯银的发钗。", attr: { defense: +5 } },
        { "id": 206, name: "虎头冠", type: "hat", desc: "仿照虎头造型所制成的铁冠，威风凛凛，并具有镇邪的效用。", attr: { defense: +10, luck: +2 } },
        { "id": 207, name: "翠玉金钗", type: "hat", desc: "镶有绿翡翠的黄金发钗。", attr: { defense: +9 } },
        { "id": 208, name: "珍珠冠", type: "hat", desc: "以珍珠缝缀的红色锦冠。", attr: { defense: +13 } },
        { "id": 209, name: "象牙发簪", type: "hat", desc: "象牙制成的发簪，广受仕女欢迎。", attr: { magic: +3, defense: +11 } },
        { "id": 210, name: "紫金冠", type: "hat", desc: "紫金冠以薄铜片铸成，外壳以紫饰金而成。", attr: { defense: +18 }, stint: { player: "王小虎" } },
        { "id": 211, name: "雪貂绒帽", type: "hat", desc: "以雪貂幼子的绒毛所制成，轻柔保暖极为珍贵。", attr: { defense: +20, bodylaw: +8 } },
        { "id": 212, name: "云霓彩带", type: "hat", desc: "九天玄女的彩带，穿戴者可上穷碧落下黄泉。", attr: { defense: +8, bodylaw: +24, luck: +10 }, stint: { sex: "女" } },
        { "id": 213, name: "冲天冠", type: "hat", desc: "天兵神将遗留的护头金盔，顶插双雉尾羽。", attr: { magic: +3, defense: +28, bodylaw: +5, luck: +3 } },
        { "id": 400, name: "披风", type: "cloak", desc: "无领对襟、无袖的披衣，俗称“斗篷”。", attr: { defense: +2 } },
        { "id": 401, name: "护肩", type: "cloak", desc: "披于肩臂上的铠甲，又称“掩膊”。", attr: { defense: +6 } },
        { "id": 402, name: "兔绒披风", type: "cloak", desc: "以野兔皮毛缝制的披衣。", attr: { defense: +12 } },
        { "id": 403, name: "翼须羽衣", type: "cloak", desc: "取海鸟翼下绒毛所制成的披衣。防御+11、身法+6", attr: { defense: +11, bodylaw: +6 } },
        { "id": 404, name: "火浣雪衣", type: "cloak", desc: "以火鼠皮毛所制火浣布制成的披衣，能自生暖气护持著者。防御+17、火属性+20", attr: { defense: +17, fire: +20 } },
        { "id": 405, name: "护心镜", type: "cloak", desc: "防护前胸要害的披甲，形如铜镜。防御+20", attr: { defense: +20 } },
        { "id": 406, name: "霓虹羽衣", type: "cloak", desc: "东海霓虹鸟的羽毛织成的披肩。防御+18、身法+18、吉运+18", attr: { defense: +18, bodylaw: +18, luck: +18 } },
        { "id": 407, name: "月鳞披风", type: "cloak", desc: "以月型鳞甲编成披风，防护效果极佳。防御+34、身法-10", attr: { defense: +34, bodylaw: -10 } },
        { "id": 408, name: "虎纹披风", type: "cloak", desc: "以整张千年白额虎虎皮制成，毛皮呈黄色，带黑色横纹。防御+40", attr: { defense: +40 } },
        { "id": 409, name: "背挂蛤蟆", type: "cloak", desc: "身体扁圆的巨大蛤蟆，皮硬胜铁，喜附挂于人背后，能做披风使用。武术+5、防御+45、身法-5", attr: { physical: +5, defense: +45, bodylaw: -5 } },
        { "id": 410, name: "紫凰披肩", type: "cloak", desc: "装饰有紫凰鸟羽毛的披肩。防御+37、身法+20、吉运+20", attr: { defense: +37, bodylaw: +20, luck: +20 } },
        { "id": 411, name: "麒麟兜", type: "cloak", desc: "以月偃山黑麒麟甲所制成的护兜，刀枪难入。防御+72、身法-10", attr: { defense: +72, bodylaw: -10 } },
        { "id": 412, name: "碧云披风", type: "cloak", desc: "相传众天女于人间嬉戏时所遗落，具有神奇的力量。灵力+30、防御+60、吉运+20", attr: { magic: +30, defense: +60, luck: +20 } },
        { "id": 500, name: "麻布衣", type: "clothes", desc: "麻布缝制的无袖布衫。防御+2", attr: { defense: +2 } },
        { "id": 501, name: "丝衣", type: "clothes", desc: "以蚕丝纺织而成，轻柔透气。", attr: { defense: +3, bodylaw: +4 } },
        { "id": 502, name: "藤甲", type: "clothes", desc: "以荆藤编制的护甲。", attr: { defense: +7 } },
        { "id": 503, name: "铁锁衣", type: "clothes", desc: "以铁环扣锁制成的护甲。", attr: { defense: +13, bodylaw: -10 } },
        { "id": 504, name: "皮衣", type: "clothes", desc: "以皮革制成的背心。", attr: { defense: +10, bodylaw: +8 } },
        { "id": 505, name: "青铜甲", type: "clothes", desc: "青铜制的兽面纹胸护甲。", attr: { defense: +22, bodylaw: -13 } },
        { "id": 506, name: "雪狼皮裘", type: "clothes", desc: "以雪狼皮毛制成的衣裘，能御寒冷。", attr: { defense: +15, bodylaw: +10 } },
        { "id": 507, name: "铁鳞甲", type: "clothes", desc: "以鱼鳞形甲片编缀而成的铠甲。", attr: { defense: +28, bodylaw: -4 } },
        { "id": 508, name: "曼罗纱", type: "clothes", desc: "舞者所穿的轻薄纱衣，能令肢体的动作更显得曼妙。", attr: { defense: +20, bodylaw: +30 } },
        { "id": 509, name: "精铁战甲", type: "clothes", desc: "以椭圆形的精铁片编缀而成，光亮照人，又称“光明铠”。", attr: { defense: +40, bodylaw: -7 } },
        { "id": 510, name: "金缕衣", type: "clothes", desc: "以金线穿玉片编制而成，又称“金缕玉衣”。", attr: { defense: +47, bodylaw: -10 } },
        { "id": 511, name: "鬼针胄", type: "clothes", desc: "布满倒刺的铜制盔甲。", attr: { physical: +9, defense: +55, bodylaw: -6 } },
        { "id": 512, name: "鲸须织袍", type: "clothes", desc: "鲸者，巨大海精之称，以鲸须所织衣袍韧性极佳，更能抵御刀枪剑戟，向来是武人梦寐的稀世珍宝。", attr: { defense: +80 } },
        { "id": 513, name: "金鳞龙甲", type: "clothes", desc: "取西域金龙王之鳞制成的宝甲，甲身带有龙王战气能提高著者的战斗意志。", attr: { physical: +25, defense: +90, luck: +10 } },
        { "id": 514, name: "银光逝水", type: "clothes", desc: "以天河中星石炼成银丝所制丝衣，由于银光耀眼行如逝水便有银光逝水之称。", attr: { magic: +15, defense: +85, luck: +10 } },
        { "id": 515, name: "紫岚灵裳", type: "clothes", desc: "雨妍仙女剪取仙境紫色烟岚制成的衣裳，身著此衣自有仙气护持不受侵害。", attr: { magic: +30, defense: +70, luck: +15 } },
        { "id": 600, name: "平安符", type: "wear", desc: "佩戴于身上求取平安的符咒。", attr: { defense: +1, luck: +3 } },
        { "id": 601, name: "香囊", type: "wear", desc: "将茅香、桂皮、花椒、白芷、秋兰等装入绢做的囊袋中，佩带 在身上以香气辟邪。", attr: { magic: +2, defense: +1, luck: +2 } },
        { "id": 602, name: "水之笛", type: "wear", desc: "水神身边佩带的七孔横笛，具有神奇的力量。", attr: { base: +18 } },
        { "id": 603, name: "珍珠", type: "wear", desc: "蚌类所生的球状物，是珍贵的装饰品。", attr: { luck: +20 } },
        { "id": 604, name: "七星灯", type: "wear", desc: "七星借寿大法中的重要法器之一，有延年续寿的功效。", attr: { roundHp: +30 } },
        { "id": 605, name: "净气白玉瓶", type: "wear", desc: "白玉雕成的小瓶子，能去浊还清，配带在身上可帮助回复真气。", attr: { roundMp: +30 } },
        { "id": 606, name: "玉镯", type: "wear", desc: "戴在手臂上的玉制环形首饰。", attr: { defense: +5, luck: +8 } },
        { "id": 607, name: "血玉扳指", type: "wear", desc: "以血玉制成的班指，十分贵重。", attr: { useMagicSubMp: "10%" } },
        { "id": 608, name: "瘟神镜", type: "wear", desc: "瘟神的随身物品，被此镜照到者易生疾病。", attr: { luck: -10 } },//提高10%毒命中率
        { "id": 609, name: "珠玉手环", type: "wear", desc: "以珠玉宝石串成的手环。", attr: { magic: +10, defense: +20, luck: +10 } },
        { "id": 610, name: "金罡珠", type: "wear", desc: "大罗金仙修炼千年的内丹。", attr: { defense: +90 } },
        { "id": 611, name: "灵心珠", type: "wear", desc: "持有者气定凝神不易动摇，拥有不受异常状态影响之奇效。不受异常状态影响" },
        { "id": 612, name: "聚宝盆", type: "wear", desc: "古代相传可以累积财富的神奇宝物。战斗金钱所得+50%" },
        { "id": 613, name: "七彩玉灵芝", type: "wear", desc: "能净化拥有者身上各种毒性，而转化成回复持有者的体力。中毒效果转化为补血效果（其实只是抵消了而已，不加血）" },
        { "id": 614, name: "天使绘卷", type: "wear", desc: "异族传入的画卷，绘有异邦美丽的女子。装备后体力最大值增加200（本身不实用，但那个迷宫里的宝物还不错，值得跑一跑支线）" },
        { "id": 615, name: "绝火蚕", type: "wear", desc: "全身铁黑，如雪冰凉，装备在身不受火焰侵袭。能抵御火属性法术（无法装备）" },
        { "id": 616, name: "定风蜘蛛", type: "wear", desc: "脚踏之位形如八卦，身上纹路如同巽字到转，身配此物，能避风害。能抵御风属性法术（无法装备）" },
        { "id": 617, name: "避雷蝎", type: "wear", desc: "紫青色小蝎，尾刺色如黄金能引天雷，有此物在身，雷击不惧。能抵御雷属性法术（无法装备）" },
        { "id": 618, name: "吞水石蟾", type: "wear", desc: "传闻中藏身于地面七尺以下，有万年寿命，平日滴水不食，一饮可尽洞庭湖之水，此物在身黄河溃于前而不惊。能抵御冰属性法术（无法装备）" },
        { "id": 619, name: "六坤玉锦", type: "wear", desc: "通体碧鳞的锦蛇，身有六处坤挂的纹路，传闻此蛇一出，则国无地动山摇之灾。能抵御土属性法术（无法装备）" },
        { "id": 620, name: "幼蛊", type: "wear", desc: "蛊后的幼体，以吸食各种毒虫的毒液为生。能抵御毒属性法术" },
        { "id": 621, name: "乾罡神镜", type: "wear", desc: "雷泽电母所持宝镜，有号动天雷之能。可召唤天雷攻击全体敌人" },
        { "id": 622, name: "北冥玄珠", type: "wear", desc: "北海冰山之上的神珠，能召风雪，易暑凝霜。可召唤霜雪攻击全体敌人" },
        { "id": 623, name: "炙炎金印", type: "wear", desc: "天界金印，印身有三道赤焰火纹，据说有号令乾天真火之效。可召唤天界真火攻击全体敌人" },
        { "id": 624, name: "巽天旗", type: "wear", desc: "隰山有怪鸟，似犬带翼，有生风之能，常至人间为祸，后为力士所屠，以其羽制旗，舞动能扬起十里风沙。可召唤狂风攻击全体敌人" },
        { "id": 625, name: "彻地钟", type: "wear", desc: "上古名匠取三金三玉，百日炉火不歇所造，音似击玉，声可透地，能使地牛躁动。可召唤地动攻击全体敌人" },
        { "id": 626, name: "神武镇天弓", type: "wear", desc: "辟霞洞主神武子取度朔山桃木合五海蛟龙皮、所制法宝。可召唤神箭攻击全体敌人" },
        { "id": 627, name: "如意玄武遗", type: "wear", desc: "相传为玄武兽死后遗留的甲壳，可化做屏障抵挡法术攻击。可召唤玄武甲提供全体法术防御（实用的好东西）" },
        { "id": 800, name: "草鞋", type: "shoes", desc: "以蔺草编织而成，十分便宜，穿起来很轻便，适宜行走。防御+1" },
        { "id": 801, name: "布靴", type: "shoes", desc: "粗布缝制的长统靴。防御+3、身法+2" },
        { "id": 802, name: "绣花鞋", type: "shoes", desc: "以丝缎缝制，鞋面绣有龙头凤尾花。防御+4" },
        { "id": 803, name: "铁履", type: "shoes", desc: "鞋底夹缝铁片，较普通布靴重。防御+6" },
        { "id": 804, name: "武僧靴", type: "shoes", desc: "罗汉僧练武所穿的布靴。防御+8、身法+6" },
        { "id": 805, name: "长靴", type: "shoes", desc: "皮革制成的长靴，有较好的防护效果。防御+11、身法+4" },
        { "id": 806, name: "羌皮靴", type: "shoes", desc: "鞋面以羌皮缝制，质地柔软便于行动。防御+13、身法+9" },
        { "id": 807, name: "青蟒靴", type: "shoes", desc: "取青蟒鳞皮制成，韧性极佳。防御+17、身法+13" },
        { "id": 808, name: "纵兔靴", type: "shoes", desc: "以东北百岁兔精毛皮制成，可令穿著者行踪有如纵兔。防御+17、身法+20" },
        { "id": 809, name: "御风草鞋", type: "shoes", desc: "天虚道人羽化成仙时遗落人间的草鞋，穿著行走有如御风飞驰。防御+22、身法+25" },
        { "id": 810, name: "凌波金莲", type: "shoes", desc: "相传为凌波仙子所穿著的金丝莲花鞋。防御+28、身法+28" },
        { "id": 811, name: "火凤羽靴", type: "shoes", desc: "以火凤羽毛编缀而成，如羽轻柔却比金坚。防御+32、身法+25" },
        { "id": 1000, name: "钟鼓钥匙", type: "plot", desc: "钟鼓石人口中吐出的钥匙。" },
        { "id": 1001, name: "饭菜", type: "plot", desc: "隔夜的饭菜。" },
        { "id": 1002, name: "双鲤玉佩", type: "plot", desc: "小虎他娘遗留的玉佩，形式为一对成双鲤鱼，此种玉佩常作为男女定情的信物之用。" },
        { "id": 1003, name: "双鲤玉佩", texture: "双鲤玉佩1", type: "plot", desc: "小虎他娘遗留的玉佩，另一半被小虎送给了七七。" },
        { "id": 1004, name: "木板", type: "plot", desc: "架在鹰架上的木板，用于往来鹰架之间。" },
        { "id": 1005, name: "包袱", type: "plot", desc: "师父交代要拿的包袱。" },
        { "id": 1006, name: "书信", type: "plot", desc: "师父写给小虎的书信。" },
        { "id": 1007, name: "魔刀刀谱", type: "plot", desc: "记载魔刀刀法的刀谱。" },
        { "id": 1008, name: "石版一", type: "plot", desc: "石版精化成的石版。" },
        { "id": 1009, name: "石版二", type: "plot", desc: "石版精化成的石版。" },
        { "id": 1010, name: "石版三", type: "plot", desc: "石版精化成的石版。" },
        { "id": 1011, name: "石版四", type: "plot", desc: "石版精化成的石版。" },
        { "id": 1012, name: "冥钱", type: "plot", desc: "民间相传冥界所使用的货币，通常以烧化方式给予。" },
        { "id": 1013, name: "林家剑谱", type: "plot", desc: "记载南武林林家绝学的剑谱。" },
        { "id": 1014, name: "粮仓钥匙", type: "plot", desc: "沈家粮仓库房的钥匙。" },
        { "id": 1015, name: "火浣鼠皮", type: "plot", desc: "鼠王赠与的珍奇皮毛。" },
        { "id": 1016, name: "水之笛", texture: "水之笛1", type: "plot", desc: "水神身边佩带的七孔横笛，具有神奇的力量。" },
        { "id": 1017, name: "书信", texture: "书信1", type: "plot", desc: "交给幻歌的书信。" },
        { "id": 1018, name: "天蛇杖", type: "plot", desc: "女神娲皇炼化五色石所用法杖。" },
        { "id": 1019, name: "石莲", type: "plot", desc: "像莲花的植物，其叶片看似花瓣一般。" },
        { "id": 1020, name: "菱花", type: "plot", desc: "随水飘流的红菱所开的花朵。" },
        { "id": 1021, name: "黄蝉", type: "plot", desc: "看似柔若，好像是没有花蕊的植物。" },
        { "id": 1022, name: "阴阳灯", type: "plot", desc: "绿色的纸糊灯笼，内燃幽冥鬼火，相传世间共有两只这样的灯笼，当凑成一对时，可照映初通往幽冥鬼界的道路。" },
        { "id": 1023, name: "幻魅画轴", type: "plot", desc: "传说为魔族之物，能禁锢人妖，并以情感欲望的弱点使其麻痹而自甘一世堕留画轴之中。" },
        { "id": 1024, name: "三魔器布包", type: "plot", desc: "装有三件魔器的布包。" },
        { "id": 1025, name: "紫色的包袱", type: "plot", desc: "装有九转还魂珠的紫色包袱。" },
        { "id": 1026, name: "五劫辟魔锥", type: "plot", desc: "张天师的遗物，虽能收服各路妖魔，却隐隐含有邪气，故被天师镇蔽于古墓陵寝之中。" },
        { "id": 1027, name: "七宝琉璃花", type: "plot", desc: "能使砂成金、石成玉的奇宝，琉璃谷所产砂土能制极品琉璃，便是此物奇能所致。" },
        { "id": 1028, name: "九转还魂珠", type: "plot", desc: "传闻有“生死人而肉白骨”之能的稀世奇物。" },
        { "id": 1029, name: "冰蜻蜓", type: "plot", desc: "冰火洞中的罕见昆虫，翅膀所落下的粉末能凝水成冰。" },
        { "id": 1030, name: "白水晶球", type: "plot", desc: "白色的水晶球，用途不明。" },
        { "id": 1031, name: "黄水晶球", type: "plot", desc: "黄色的水晶球，用途不明。" },
        { "id": 1201, name: "尸腐肉", type: "addState", desc: "沾染尸毒的腐败肉块。尸毒效果" },
        { "id": 1202, name: "腹蛇涎", type: "addState", desc: "腹蛇的毒涎。瘴毒效果" },
        { "id": 1203, name: "缠魂丝", type: "addState", desc: "千年蜘蛛的毒丝。丝毒效果" },
        { "id": 1204, name: "尸蛆", type: "addState", desc: "由尸体腐肉中长出的白色蛆虫，带有尸毒。两倍尸毒效果" },
        { "id": 1205, name: "水晶蜘蛛", type: "addState", desc: "肉眼难见的小型毒蜘蛛，遭其叮咬会中丝毒。两倍丝毒效果" },
        { "id": 1206, name: "附蛇蛊", type: "addState", desc: "寄附于毒蛇内脏中的蛊虫。两倍瘴毒效果" },
        { "id": 1207, name: "赤尾蝎", type: "addState", desc: "赤红色毒蝎，带有赤毒。两倍赤毒效果" },
        { "id": 1208, name: "赤蝎粉", type: "addState", desc: "以整只赤尾蝎研磨成的粉末，可使敌方全体中赤毒。敌全体赤毒" },
        { "id": 1209, name: "毒龙砂", type: "addState", desc: "以腹蛇毒炼制成的细砂，可使敌方全体中瘴毒；敌全体瘴毒" },
        { "id": 1210, name: "尸气蛤蟆", type: "addState", desc: "灰白色的蛤蟆，全身充满毒性气体。敌全体尸毒" },
        { "id": 1211, name: "化尸水", type: "addState", desc: "碰到伤口血水，便腐蚀溃烂，受伤者沾染立毙。受伤者沾染立毙" },
        { "id": 1212, name: "万蠹土", type: "addState", desc: "由蛇、蝎、蜘蛛等等诸多毒物的粪便与这些毒物的腐尸混拌而" },
        { "id": 1213, name: "三尸蛊", type: "addState", desc: "七大毒蛊；中毒后，潜伏片刻即会发作，毒性非常猛烈。依序损血111、222、333" },
        { "id": 1214, name: "鹤顶红", type: "addState", desc: "七大毒蛊，中毒后每回合损血，至死方休。体力持续减少，至死方休" },
        { "id": 1215, name: "孔雀胆", type: "addState", desc: "七大毒蛊，中毒后每回合耗损真气，至死方休。真气持续减少，至死方休" },
        { "id": 1216, name: "血海棠", type: "addState", desc: "七大毒蛊，所受伤害加倍，至死方休。所受伤害加倍，至死方休" },
        { "id": 1217, name: "断肠草", type: "addState", desc: "七大毒蛊，中毒后每回合损血，至死方休。体力持续减少，至死方休" },
        { "id": 1218, name: "金蚕蛊", type: "addState", desc: "七大毒蛊，中毒后每回合损失金钱，至死方休。金钱持续减少，至死方休" },
        { "id": 1219, name: "无影毒", type: "addState", desc: "七大毒蛊，中毒后立即发作，耗损一半体力。耗损一半体力" },
        { "id": 1220, name: "青僵蚁", type: "addState", desc: "青绿色蚁虫，带有毒性会使人气血逆行，遭其叮咬五回合内如法行动。定身三回合（这文字自相矛盾也是醉了）" },
        { "id": 1221, name: "醍醐香", type: "addState", desc: "紫叶小白花，散发浓郁香气，闻到香气，便如酒醉一般。定身五回合" },
        { "id": 1222, name: "捆仙索", type: "addState", desc: "施有咒术的粗麻绳，可令妖怪动弹不得。定身五回合" },
        { "id": 1223, name: "忘魂花", type: "addState", desc: "青蓝色小花，散发淡淡香气，闻到香气，便会昏睡三回合。昏睡三回合" },
        { "id": 1224, name: "迷魂香", type: "addState", desc: "点燃蒙汗药散发迷香，可使敌人昏睡五回合。昏睡五回合" },
        { "id": 1225, name: "瞌睡虫", type: "addState", desc: "白色甲虫型如白玉，体内香脂所散香气能让人沈睡。昏睡七回合（捡到时显示为迷魂蛊，实际上物品列表里是瞌睡虫）" },
        { "id": 1226, name: "紫罂粟", type: "addState", desc: "服食者会产生幻觉，敌我不分。疯魔三回合" },
        { "id": 1227, name: "幻蛊", type: "addState", desc: "分泌的毒液会影响人的脑部，使人敌我不分。疯魔五回合" },
        { "id": 1228, name: "失心蜂", type: "addState", desc: "遭此蜂者螫刺者将会丧失心智。疯魔七回合" },
        { "id": 1401, name: "梅花镖", type: "pelt", desc: "形如梅花的暗器。伤敌90" },
        { "id": 1402, name: "袖里剑", type: "pelt", desc: "暗藏在衣袖中的飞剑。伤敌170" },
        { "id": 1403, name: "无影神针", type: "pelt", desc: "细如牛毛，伤人于无形。伤敌400" },
        { "id": 1404, name: "吸星锁", type: "pelt", desc: "铁炼钢抓，尾端系以灵蛊蚕丝，可吸取敌人HP100。敌人体力-100；使用者体力+100" },
        { "id": 1405, name: "血玲珑", type: "pelt", desc: "红色铁球，四周装有锋利刀片。全体伤敌150" },
        { "id": 1406, name: "风灵符", type: "pelt", desc: "产生风系法术的符咒。风属性攻击" },
        { "id": 1407, name: "雷灵符", type: "pelt", desc: "产生雷系法术的符咒。雷属性攻击" },
        { "id": 1408, name: "水灵符", type: "pelt", desc: "产生冰系法术的符咒。冰属性攻击" },
        { "id": 1409, name: "火灵符", type: "pelt", desc: "产生火系法术的符咒。火属性攻击" },
        { "id": 1410, name: "土灵符", type: "pelt", desc: "产生土系法术的符咒。土属性攻击" },
        { "id": 1411, name: "天师符", type: "pelt", desc: "茅山道士用来对付妖怪的符咒。物理属性攻击" },
        { "id": 1412, name: "冰蚕蛊", type: "pelt", desc: "以雪山冰洞内所产所冰蚕培养的蛊虫，可做为攻击道具。冰属性攻击" },
        { "id": 1413, name: "火蚕蛊", type: "pelt", desc: "以麒麟炎洞内所产火蚕所培养的蛊虫，可做为攻击道具。火属性攻击" },
        { "id": 1414, name: "风蜘蛛", type: "pelt", desc: "传闻是风妖遭天雷击毙后的化身，捏碎它会召来狂风，可做为攻击道具。风属性攻击" },
        { "id": 1415, name: "爆裂蛊", type: "pelt", desc: "预先将法力灌输在蛊虫体内，再投掷敌人产生强烈爆炸。强力火属性攻击" },
        { "id": 1416, name: "食妖虫", type: "pelt", desc: "寄生宿主吸取灵气，九回合后，可炼成灵蛊。可炼成灵蛊" },
        { "id": 1417, name: "碧血蚕", type: "pelt", desc: "寄生宿主吸取血液，九回合后，可炼成赤血蚕。可炼成赤血蚕" },
        { "id": 1418, name: "血乳娘", type: "pelt", desc: "状似天牛，身为赤红带有许多细小白斑，喜食人畜之血，尾端分泌之白色汁液可供食用有回复体力之效。吸食敌人体力；回复我方体力（每回合扣敌单人血150，我方全体补血50，可重复使用）" },
        { "id": 1601, name: "盐巴", type: "aide", desc: "取海水煎熬或曝晒而成，用来调味，有时可解毒。有30%机会可以解赤毒、尸毒、瘴毒、毒丝" },
        { "id": 1602, name: "糯米", type: "aide", desc: "糯稻的米，富于黏性，可解尸毒。可解尸毒" },
        { "id": 1603, name: "雄黄酒", type: "aide", desc: "一点点的雄黄，撒在酒中，习俗在端午节喝这种酒。可解赤毒、瘴毒" },
        { "id": 1604, name: "鬼枯藤", type: "aide", desc: "具毒性的黑褐色野生藤蔓，可解赤毒、尸毒、瘴毒、毒丝。可解赤毒、尸毒、瘴毒、毒丝；体力-20" },
        { "id": 1605, name: "九节菖蒲", type: "aide", desc: "一种水草，叶子狭长如剑，可解赤毒、尸毒、瘴毒、毒丝。可解赤毒、尸毒、瘴毒、毒丝" },
        { "id": 1606, name: "净衣符", type: "aide", desc: "具有祛病、御邪的法力，可解赤毒、尸毒、瘴毒、毒丝。解赤毒、尸毒、瘴毒、毒丝" },
        { "id": 1607, name: "银针", type: "aide", desc: "用银针刺肉，以痛楚唤醒神智，可解定身、昏睡、疯魔。伤敌120；解疯魔、定身、昏睡、封咒（解异常状态时扣血20）" },
        { "id": 1608, name: "灵心符", type: "aide", desc: "具有宁神、驱邪的灵效，可解疯魔、定身、昏睡、封咒。解疯魔、定身、昏睡、封咒" },
        { "id": 1609, name: "九阴散", type: "aide", desc: "服食前若已中毒，可补满体力，但无法解毒；服食前若没中毒，即刻毙命。" },
        { "id": 1610, name: "毒龙胆", type: "aide", desc: "千年毒蛟的胆，以毒攻毒可解天下所有的毒；若没中毒吃毒龙胆会毙命。" },
        { "id": 1611, name: "大蒜", type: "aide", desc: "具有除秽、祛病、护身等功能，可以入药。战场中服食避毒力提升" },
        { "id": 1612, name: "金刚符", type: "aide", desc: "使用后如有金钟铁罩护身。增加防御七回合" },
        { "id": 1613, name: "腾云符", type: "aide", desc: "战斗中身法暂时加倍9回合。身法加倍九回合" },
        { "id": 1614, name: "战蛊", type: "aide", desc: "令人增强战斗意志的蛊虫。七回合内一般攻击效果加倍" },
        { "id": 1615, name: "铜皮蜈蚣", type: "aide", desc: "具有特殊毒性的蜈蚣，能让人皮肤暂时变硬如同甲胄。七回合防御力暂时提升" },
        { "id": 1616, name: "千尺蟾", type: "aide", desc: "据说一跃能达七尺，服食能暂时提升身法。七回合身法暂时提升" },
        { "id": 1617, name: "傀儡虫", type: "aide", desc: "湘西云贵巫师用以控制尸体，可使死者继续攻击九回合。死者继续普通攻击九回合" },
        { "id": 1618, name: "隐蛊", type: "aide", desc: "形如带刺甲虫，将其身体捏破，散发之烟雾可助我方隐匿形迹。隐身三回合" },
        { "id": 1619, name: "土遁符", type: "aide", desc: "可藉土遁摆脱敌人。逃离战场" },
        { "id": 1620, name: "箕主簸扬符", type: "aide", desc: "箕主簸扬，能致风气，此符一出，能使风妖围附四界。风系法术效果增强；雷系法术效果减弱" },
        { "id": 1621, name: "九天应元符", type: "aide", desc: "九天玄雷动，万物皆应元，此符能布雷召云，使周围环境变化如雷泽一般。雷系法术效果增强；土系法术效果减弱" },
        { "id": 1622, name: "娑竭龙王符", type: "aide", desc: "此符上绘有娑竭龙王尊法相，能司动云、雨、霜、雪待在四周，随时降霜布雪。冰系法术效果增强；火系法术效果减弱" },
        { "id": 1623, name: "阏伯藏炎符", type: "aide", desc: "阏伯，司火之神，藏天火火种于囊，此符文念动能使众人如在火囊之中，能轻易引发火源。火系法术效果增强；风系法术效果减弱" },
        { "id": 1624, name: "地夭六震符", type: "aide", desc: "上有“地夭天女神，六震地涌现，吾符主司监，大地待司动。”四句经诗，能令大地相应。土系法术效果增强；水系法术效果减弱" },
        { "id": 1625, name: "乾天病狂符", type: "aide", desc: "上有六毒转七情符文，能使众人心神崩溃，如入疯狂之境。物理攻击、法术效果增强" },
        { "id": 1626, name: "菩提宝心符", type: "aide", desc: "以菩提之慈悯滋润众人之心，不觉之中暴戾之气自减。物理攻击、法术效果减弱" },
        { "id": 1627, name: "青莲净界符", type: "aide", desc: "有净瘴去蠹之效，可使百毒不生。回合开始时解除中毒状况；持续七回合" },
        { "id": 1628, name: "无象八卦符", type: "aide", desc: "有象化无象，八卦转虚无，能使一切回归常轨，破除一切结界禁制。破除一切结" },
        { "id": 1801, name: "火龙根", type: "attrup", desc: "传闻高寒之处生有一草，只有短叶一片，茎末生有一穗，色紫，将其崛起，根部之形如龙，赤红似火，名号火龙，食可生劲。武术+3" },
        { "id": 1802, name: "豹纹斗蛊", type: "attrup", desc: "生有豹纹，天生善斗的蛊虫。武术+4" },
        { "id": 1803, name: "八仙石", type: "attrup", desc: "八仙石洞中所采集之丹矿。防御+2" },
        { "id": 1804, name: "女娲石", type: "attrup", desc: "女神娲皇炼石补天后，所遗之五色石。防御+3" },
        { "id": 1805, name: "金甲虫", type: "attrup", desc: "金黄色甲虫，含入口中可提升防御力。防御+4" },
        { "id": 1806, name: "青铜花", type: "attrup", desc: "罕见植物，花瓣坚硬如同金石又因色呈青铜之色，故名青铜花。防御+5" },
        { "id": 1807, name: "疾行蜈蚣", type: "attrup", desc: "碧蓝色蜈蚣，嚼食此蛊虫可使动作轻盈灵巧。身法+4" },
        { "id": 1808, name: "好运来", type: "attrup", desc: "外形极像金龟子，据说会随好运一起出现。吉运+8" },
        { "id": 1809, name: "试炼果", type: "attrup", desc: "药王神农氏尝百草时，最早发现的珍药。灵力+3" },
        { "id": 1810, name: "云纹蜘蛛", type: "attrup", desc: "传说生长于蓬莱仙岛的蜘蛛，身上有祥云纹路，服食者可提升灵力。灵力+4" },
        { "id": 1811, name: "八卦芋", type: "attrup", desc: "此种芋头只生两叶，一叶色白，一叶色黑，根部生为八卦形状，据说是仙人所植，食用有助人养气炼身之效。灵力+5" },
        { "id": 1812, name: "玉菩提", type: "attrup", desc: "墨玉菩提树的种籽。真气最大值+5" },
        { "id": 1813, name: "银朴子", type: "attrup", desc: "稀世奇树所结果实，此树高三尺三吋，结子色银，状似朴子，可食，有强身助气之效。武术+1、灵力+1、防御+1" },
        { "id": 1814, name: "雪蛤蟆", type: "attrup", desc: "生长于天山极寒之地，仅铜钱般大小。武术+2、灵力+2、防御+2" },
        { "id": 1815, name: "碧玉蜂", type: "attrup", desc: "蜀地生长的珍稀物种，以其尾螫刺身体可收强身健体之效。武术+3、防御+3" },
        { "id": 1816, name: "琥珀蝎", type: "attrup", desc: "上古医仙将毒蝎喂养百药而成，通体透亮有如琥珀。武术+2、灵力+2、防御+2、身法+2" },
        { "id": 1817, name: "蜂皇", type: "attrup", desc: "“万蜂出一后，万后出一皇”，相传蜂皇与蛊母结合后，会出现蛊中之蛊。攻击+5、防御+5、灵力+5" },
        { "id": 1818, name: "金蚕王", type: "attrup", desc: "蛊中之王，月夜散发金色磷光，服食后可提升修行。修行+1" },
        { "id": 1819, name: "雷煌玉", type: "attrup", desc: "一日天雷击落，高原巨石并裂，石中有一奇石色如黄玉，石中隐隐有电光闪烁，人曰为雷神佩玉称雷煌玉，研磨服食可避雷击。提升身体抗雷属性" },
        { "id": 1820, name: "风凌石", type: "attrup", desc: "大漠有一巨岩，日日受狂风刮蚀，经千年余铜钱大小，色泽青绿，质地刚硬，能在金刚石上划出刀痕，吞食能抗风沙侵袭。提升身体抗风属性" },
        { "id": 1821, name: "冰晶石", type: "attrup", desc: "传闻极北之地有一池，从不结冰，孕有鱼虾蟹贝等诸多水族，如此奇迹皆因池中有一石，状似冰糖，研磨服食能提升御寒能力。提升身体抗冰属性" },
        { "id": 1822, name: "炎晶砂", type: "attrup", desc: "产自南岛火焰池中，日日受高温火焰炙炼，而形不改，透亮晶莹色泽如焰，食用能提升抗热能力。提升身体抗火属性" },
        { "id": 1823, name: "山灵琥珀", type: "attrup", desc: "万年神木树脂凝化的琥珀，带有山岳灵气，食用能避土石之害。提升身体抗土属性" },
        { "id": 1824, name: "墨云石", type: "attrup", desc: "来自苗疆的珍稀之物，据说服食后能抵御瘴毒侵害。提升身体抗毒属" },
        { "id": 2001, name: "嗜血蜂", type: "drug", desc: "爱好血腥味道的蜂，入药可得奇效。体力+500" },
        { "id": 2002, name: "止血草", type: "drug", desc: "嚼碎后敷在伤口上，可迅速止血。体力+50" },
        { "id": 2003, name: "行军丹", type: "drug", desc: "活血顺气的药丸。体力+100" },
        { "id": 2004, name: "金创药", type: "drug", desc: "上等刀伤药，去腐生肌。体力+200" },
        { "id": 2005, name: "紫菁玉蓉膏", type: "drug", desc: "依宫廷秘方，采珍贵药材炼制，是疗伤药的极品。体力全满" },
        { "id": 2006, name: "鼠儿果", type: "drug", desc: "产于山间野地，多为鼠类所食，经人发现移种平地。真气+36" },
        { "id": 2007, name: "龙涎草", type: "drug", desc: "经蛟龙唾涎灌溉而生，具有补中益气之疗效。真气+110" },
        { "id": 2008, name: "灵山仙芝", type: "drug", desc: "寄生于枯木上的菌类，俗称瑞草，具有养气培元之神效。真气+250" },
        { "id": 2009, name: "雪莲子", type: "drug", desc: "白玉雪莲之莲子，其形珠圆玉润，服食者真气充盈，经脉通畅。真气+400" },
        { "id": 2010, name: "天仙玉露", type: "drug", desc: "观音菩萨净瓶甘露水，人间难求的仙界圣药。真气+700" },
        { "id": 2011, name: "茶叶蛋", type: "drug", desc: "鸡蛋水煮后，以茶叶入味。体力+15，真气+15" },
        { "id": 2012, name: "烧肉", type: "drug", desc: "以炭火熏烤的酱汁猪肉。体力+30，真气+30" },
        { "id": 2013, name: "蜂王蜜", type: "drug", desc: "蜜蜂所酿最好的蜜。体力+150，真气+150" },
        { "id": 2014, name: "灵葫仙丹", type: "drug", desc: "修道隐士所炼丹药。体力+250，真气+250" },
        { "id": 2015, name: "神仙茶", type: "drug", desc: "神仙广成子养生延寿之秘方。体力+440，真气+440" },
        { "id": 2016, name: "还魂香", type: "drug", desc: "点燃后会散发奇异的香气，能牵引离体魂魄回归躯体。死者复活，并回复10%体力" },
        { "id": 2017, name: "赎魂灯", type: "drug", desc: "以莲灯作法与鬼差交涉，赎回死者魂魄。死者复活，并回复30%体力" },
        { "id": 2018, name: "孟婆汤", type: "drug", desc: "消除死者罪孽业障，使死者复活。死者复活，并回复50%体力" },
        { "id": 2019, name: "天香续命露", type: "drug", desc: "以大量珍贵秘药精炼而成，具有肉白骨、药死人之奇效。死者复活，并回复全部体" },
        { "id": 2020, name: "陈皮守宫", type: "drug", desc: "全身如风干橘皮一般，食用可恢复部分体力。体力+120" },
        { "id": 2021, name: "百草蜘蛛", type: "drug", desc: "专吃药草维生的蜘蛛，服食可恢复少量真气与体力。体力+65、真气+65" },
        { "id": 2022, name: "朱星", type: "drug", desc: "朱红色的蚱猛，夜间飞翔时会发出点点亮光，服食后能大幅回复体力。体力+450" },
        { "id": 2023, name: "冬草夏虫", type: "drug", desc: "冬虫夏草的珍奇变种，有极大的滋血养气之效。真气+330、体力+33" },
        { "id": 2024, name: "人参蛆", type: "drug", desc: "依附千年人参而生的蛆，燃烧时散发的香气能使所有人大幅恢复体力。全体体力+250" },
        { "id": 2025, name: "灵蛊", type: "drug", desc: "以稀有药物喂养的雌蛊。全体真气+250" },
        { "id": 2026, name: "灵芝蛤蟆", type: "drug", desc: "背长灵芝的蛤蟆，为炼丹者所钟爱。真气、体力全满" },
        { "id": 2027, name: "赤血蚕", type: "drug", desc: "吸血维生的毒蛊，使服食者体力完全恢复。体力全满" },
        { "id": 2028, name: "莹月蛾", type: "drug", desc: "会发出淡蓝萤光的蛾，孕有天地灵气，能使服食者真气完全恢复。真气全满" },
        { "id": 2029, name: "银丝蛇", type: "drug", desc: "全身银鳞，细如丝线般的小蛇，能沿寿续命。死者复活，回复全部体力" },
        { "id": 2030, name: "观音符", type: "drug", desc: "以观音圣水书写的灵符。体力+150" },
        { "id": 2031, name: "圣灵符", type: "drug", desc: "具有女娲神强大灵力的符咒。全体体力+300" },
        { "id": 2201, name: "引路蜂", type: "other", desc: "跟随引路蜂而行，可回到迷宫起点。回到迷宫起点" },
        { "id": 2202, name: "山神石", type: "other", desc: "可以请出土地公，可帮助你回到迷宫起点。回到迷宫起点" },
        { "id": 2203, name: "十里香", type: "other", desc: "以生血、内脏、肉桂..等炼制，点燃后发出吸引魔物的香味。能吸引妖怪前来" },
        { "id": 2204, name: "驱魔香", type: "other", desc: "以大蒜、雄黄、艾草、檀香..等混合炼制而成，点燃后发出魔物厌恶的气味，使魔物不敢接近。能使妖怪消失一段时" }
    ]
    export function getItem(id: number) {
        for (var key in Items) {
            var temp = Items[key];
            if (temp.id == id) return temp;
        }
    }


    /**
     * 剧情     
     */
    export interface Plot{
        /** 大类 dialog:对话层  move:移动  dat:数据 */
        class:string
        /** 小类 */
        type:string
        /** 剧情内容 */
        expand:PlotDialog|PlotMove|PlotDirector|PlotDatTask|PlotDatNpc|PlotDatDoor|PlotDatPack
        /** 停止上传完成事件 默认是false */
        stopUpEvent?:boolean
        /** 后续关联情节 */
        after?:Plot|Plot[]
    }

    /**
     * 对话
     * type dialog人物说话 sceneTip场景提示  aside旁白
     * content \n 换行    f换页
     */
    export interface PlotDialog{
        /** 显示的说话人名 */
        name:string
        /** 说话的标题 约等于name title存在优先 */
        title?:string
        /** 显示的说话内容 */
        content:string
        /** 说话时的表情 */
        phiz?:number
        /** 表情显示方向 1左 2右 */
        phizDir?:number
    }
    /**     
     * 移动
     * type player npc
     */
    export interface PlotMove{
        /** 移动的对象名称 */
        name:string
        /** 移动的路径名称 */
        path:string
    }

    /** 导演类 
     * type scene:转场
    */
    export interface PlotDirector{
        /** 转场名称 */
        name:string
        /** 门 */
        door?:string
    }

    /** 数据类
     * type addTask 接受一个任务
     */
    export interface PlotDatTask{
        /** 任务ID */
        taskId:number
    }

    /**
     * 数据类
     * type npc 更新npc 如果存在更新 否则新增
     */
    export interface PlotDatNpc{
        /** Npc名称 */
        name:string
        /** 操作 add|update|delete */
        cmd:string
        /** 地图 如果不存在即指当前地图 */
        map?:string
        /** 剧本 */
        plot?:Plot[]     
        /** 满足某些条件,修改剧本 */ 
        needIf?:QM.NeedIf        
    }

    /**
     * 数据类
     * type door 更新门 如果存在更新 否则新增
     */
    export interface PlotDatDoor{
        /** 门的名称 */
        name:string
        /** 操作 */
        cmd:string
        /** 门所在的地图,如果字段不存在，就是当前地图 */
        map?:string
        /** 门的数据 */
        door:QM.Door
    }

    /**
     * 数据类
     * type pack 更新背包数据
     */
    export interface PlotDatPack{
        /** add添加 remove移除 */
        cmd:string
        /** 物品ID */
        itemId:number
        /** 物品放置到地图中使用 */
        point?:string
        /** 物品放置时，设置是否可以拾取 */
        isPickUp?:boolean
        /** 数量 如果没有设置默认为1 */
        number?:number
    }

    export interface Task {
        /** ID */
        id: number
        /** 类型 1主线 2支线 */
        type: number
        /** 场景 支线场景 */
        scene?: string
        /** 任务描述 */
        desc: string
        /** 奖励 */
        reward?: string
        /** 状态 */
        state?: number
    }

    let Tasks: Task[] = [
        { id: 1, type: 1, desc: "找黄大妈拿回衣服" },                
    ]

    export function getTask(id: number) {
        for (var k in Tasks) {
            var temp = Tasks[k];
            if (temp.id == id) {
                return temp;
            }
        }
        return;
    }



    /** 敌军 怪物 */
    export interface Enemy{
        /** ID */
        id:number
        /** 名称 */
        name:string
        /** 类型 1怪物 2人  */
        type:number
        /** 性别 0无性 1男 2女 */
        sex:number    
        /** 图形 */    
        texture:string
        /** 掉落金币 */
        gold:number
        /** 基础属性 */
        attr:{
            /** 血量 */
            hp:number
            /** 物理攻击力 */
            physical:number
            /** 魔法攻击力 */
            magic:number
            /** 防御 */
            defense:number
            /** 身法 */
            bodylaw:number            
        }        
        /** 背包中物品(偷窃) */
        pack?:number[]
        /** 死亡后必定爆出 */
        reward?:number[]
        /** 随机掉落物品 物品ID 掉率 */
        rangeReward?:{[itemId:number]:number}
        
    }

    /** 怪物军团 地图显示怪物使用的数据  */
    export interface Corps{
        /** 图片名称 */
        texture:string
        /** 巡逻半径范围 */
        radius:number
        /** 警戒半径范围 */
        warn:number
        /** 移动速度 */
        speed:number
        /** 追击速度 */
        run:number
        /** 出生点 */
        point:string
        /** 军团中可能存在的怪物ID */
        range:number[]
    }

    let Enemys=[
        {
            id:1,
            name:"草怪",
            type:1,
            sex:0,
            texture:"草怪",
            gold:10,
            attr:{
                hp:100,
                physical:5,
                magic:0,
                defense:1,
                bodylaw:1
            },
            rangeReward:[2002]
        },
        {
            id:2,
            name:"泥怪",
            type:1,
            sex:0,
            texture:"泥怪",
            gold:10,
            attr:{
                hp:100,
                physical:5,
                magic:0,
                defense:1,
                bodylaw:1
            },
            rangeReward:[2002]
        }
    ]

    /**
     * 获取 怪物 敌军信息
     * @param id 
     */
    export function getEnemy(id:number){
        for(var i=0;i<Enemys.length;i++){
            if(Enemys[i].id==id){
                return Enemys[i];
            }
        }
    }

    
}

